package com.intellij.licensecommon.util;

public class j {
    public static final int a = 365;

    public static SubscriptionLicenseInfo a(String licenseKey, String paramS) throws a {
        SubscriptionLicenseInfo info = new SubscriptionLicenseInfo();

        byte[] arrayOfByte = SubscriptionLicenseDecoder.a(licenseKey, info);
        try {
            SubscriptionLicenseDecoder.a(arrayOfByte, info, paramS, 14);
            SubscriptionLicenseDecoder.b(arrayOfByte, info, paramS, -1);
            return info;
        } catch (a locala1) {
            try {
                SubscriptionLicenseDecoder.a(arrayOfByte, info, paramS, 12);
                SubscriptionLicenseDecoder.b(arrayOfByte, info, paramS, a);
                return info;
            } catch (a locala2) {
                throw new a();
            }
        }
    }
}
